﻿using SmartPlant.Model.Biz;

namespace SmartPlant.Model.DbContext.Biz
{
    /// <summary>
    /// ISPIControllerBase里patch方法会用
    /// </summary>
    public class SPIPatchObj
    {
        /// <summary>
        /// id
        /// </summary>
        public string Id { set; get; }
        /// <summary>
        /// 属性名 + 属性值
        /// </summary>
        public Dictionary<string, string> keyValuePairs;
    }


    /// <summary>
    /// EDE提交时
    /// </summary>
    public class EDESubmitObj
    {
        public string ViewId { set; get; }
        public string ItemName { set; get; }
        public List<ViewQueryItemAttr> columns { set; get; }
        public List<SPIPatchObj> Objs { get; set; }
    }
}
